200
How do I arrange my columns on multiple lines

List1->HeaderHeight = 32;
List1->Columns->Add(L"")->HTMLCaption = L"Line 1<br>Line 2";

199
How can I display all cells using HTML format

List1->Columns->Add(L"HTML")->set_Def(Exlistlib_tlb::DefColumnEnum::exCaptionFormat,TVariant(1));
List1->Items->Add(TVariant("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>."));

198
How can I display all cells using multiple lines

List1->Columns->Add(L"MultipleLine")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellSingleLine,TVariant(false));
List1->Columns->Add(L"SingleLine")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellSingleLine,TVariant(true));
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_Caption(var_Items->Add(TVariant("This is a bit of long text that should break the line")),TVariant(1),TVariant("this is a bit of long text that's displayed on a single line"));

197
How do change the vertical alignment for all cells in the column

List1->Columns->Add(L"MultipleLine")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellSingleLine,TVariant(false));
List1->Columns->Add(L"VAlign")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellVAlignment,TVariant(2));
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_Caption(var_Items->Add(TVariant("This is a bit of long text that should break the line")),TVariant(1),TVariant("bottom"));
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_Caption(var_Items1->Add(TVariant("This is a bit of long text that should break the line")),TVariant(1),TVariant("bottom"));

196
How do change the foreground color for all cells in the column

List1->Columns->Add(L"ForeColor")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellForeColor,TVariant(255));
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

195
How do change the background color for all cells in the column

List1->Columns->Add(L"BackColor")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellBackColor,TVariant(255));
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

194
How do I show buttons for all cells in the column

Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Button");
	var_Column->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
	var_Column->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasButton | Exlistlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
List1->Items->Add(TVariant(" Button 1 "));
List1->Items->Add(TVariant(" Button 2 "));

193
How do I show buttons for all cells in the column

List1->Columns->Add(L"Button")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

192
How do I display radio buttons for all cells in the column

List1->Columns->Add(L"Radio")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

191
How do I display checkboxes for all cells in the column

List1->Columns->Add(L"Check")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

190
How can I display a tooltip when the cursor hovers the column

List1->Columns->Add(L"tooltip")->ToolTip = L"This is a bit of text that is shown when user hovers the column.";

189
Is there any function to assign a key to a column instead using its name or capion

List1->Columns->Add(L"Data")->Key = L"DKey";
List1->Columns->get_Item(TVariant("DKey"))->Caption = L"new caption";

188
Is there any function to assign any extra data to a column

List1->Columns->Add(L"Data")->set_Data(TVariant("your extra data"));

187
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header

List1->Columns->Add(L"Sort")->DefaultSortOrder = true;

186
How can I specify the maximum width for the column, if I use WidthAutoResize property

Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Auto");
	var_Column->WidthAutoResize = true;
	var_Column->MinWidthAutoResize = 32;
	var_Column->MaxWidthAutoResize = 128;
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

185
How can I specify the minimum width for the column, if I use WidthAutoResize property

Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Auto");
	var_Column->WidthAutoResize = true;
	var_Column->MinWidthAutoResize = 32;
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

184
Is there any option to resize the column based on its data, captions

List1->Columns->Add(L"A")->WidthAutoResize = true;
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

183
How can I align the icon in the column's header in the center

List1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"");
	var_Column->HeaderImage = 1;
	var_Column->HeaderImageAlignment = Exlistlib_tlb::AlignmentEnum::CenterAlignment;

182
How do I align the icon in the column's header to the right

List1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"ColumnName");
	var_Column->HeaderImage = 1;
	var_Column->HeaderImageAlignment = Exlistlib_tlb::AlignmentEnum::RightAlignment;

181
How do I show or hide the sorting icons, but still need sorting

List1->Columns->Add(L"Sorted")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortAscending;
List1->Columns->get_Item(TVariant(0))->DisplaySortIcon = false;

180
How do I enable or disable the entire column

List1->Columns->Add(L"C1");
List1->Columns->Add(L"Disabled")->Enabled = false;
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_Caption(var_Items->Add(TVariant(0)),TVariant(1),TVariant("0.1"));
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_Caption(var_Items1->Add(TVariant(1)),TVariant(1),TVariant("1.1"));

179
How do I disable drag and drop columns
List1->Columns->Add(L"C1")->AllowDragging = false;
List1->Columns->Add(L"C2")->AllowDragging = false;

178
How do I disable resizing a column at runtime

List1->Columns->Add(L"Unsizable")->AllowSizing = false;
List1->Columns->Add(L"C2");
List1->Columns->Add(L"C3");
List1->Columns->Add(L"C4");

177
How can I align the column to the right, and its caption too

Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->Alignment = Exlistlib_tlb::AlignmentEnum::RightAlignment;
	var_Column->HeaderAlignment = Exlistlib_tlb::AlignmentEnum::RightAlignment;
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

176
How can I align the column to the right

List1->Columns->Add(L"Column")->Alignment = Exlistlib_tlb::AlignmentEnum::RightAlignment;
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));

175
How do I change the column's caption

List1->Columns->Add(L"Column")->Caption = L"new caption";

174
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

List1->FormatAnchor[false] = L"<b><u><fgcolor=880000> </fgcolor></u></b>";
List1->Columns->Add(L"Column");
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_CaptionFormat(var_Items->Add(TVariant("Just an <a1>anchor</a> element ...")),TVariant(0),Exlistlib_tlb::CaptionFormatEnum::exHTML);
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_CaptionFormat(var_Items1->Add(TVariant("Just another <a2>anchor</a> element ...")),TVariant(0),Exlistlib_tlb::CaptionFormatEnum::exHTML);
List1->Items->Add(TVariant("next item"));

173
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

List1->FormatAnchor[true] = L"<b><u><fgcolor=FF0000> </fgcolor></u></b>";
List1->Columns->Add(L"Column");
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_CaptionFormat(var_Items->Add(TVariant("Just an <a1>anchor</a> element ...")),TVariant(0),Exlistlib_tlb::CaptionFormatEnum::exHTML);
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_CaptionFormat(var_Items1->Add(TVariant("Just another <a2>anchor</a> element ...")),TVariant(0),Exlistlib_tlb::CaptionFormatEnum::exHTML);

172
Can I change the font for the tooltip

List1->ToolTipDelay = 1;
List1->ToolTipWidth = 364;
List1->Columns->Add(L"tootip")->ToolTip = L"<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";

171
Can I change the font for the tooltip

List1->ToolTipDelay = 1;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = List1->ToolTipFont;
	var_StdFont->Name = L"Tahoma";
	var_StdFont->Size = TVariant(long(14));
List1->ToolTipWidth = 364;
List1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

170
Can I change the order of the buttons in the scroll bar

List1->ScrollOrderParts[Exlistlib_tlb::ScrollBarEnum::exHScroll] = L"t,l,r";
List1->ScrollOrderParts[Exlistlib_tlb::ScrollBarEnum::exVScroll] = L"t,l,r";
List1->ScrollBars = Exlistlib_tlb::ScrollBarsEnum::DisableBoth;

169
The thumb size seems to be very small. Can I make it bigger

List1->ColumnAutoResize = false;
List1->Columns->Add(L"C1")->Width = 256;
List1->Columns->Add(L"C2")->Width = 256;
List1->Columns->Add(L"C3")->Width = 256;
List1->ScrollThumbSize[Exlistlib_tlb::ScrollBarEnum::exHScroll] = 64;

168
How can I display my text on the scroll bar, using a different font

List1->ScrollPartCaption[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exThumbPart] = L"This is <s><font Tahoma;12> just </font></s> text";
List1->ColumnAutoResize = false;
List1->ScrollHeight = 20;
List1->Columns->Add(L"C1")->Width = 256;
List1->Columns->Add(L"C2")->Width = 256;
List1->Columns->Add(L"C3")->Width = 256;

167
How can I display my text on the scroll bar, using a different font

List1->ScrollPartCaption[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exThumbPart] = L"This is just a text";
List1->ScrollFont[Exlistlib_tlb::ScrollBarEnum::exHScroll]->Size = TVariant(long(12));
List1->ColumnAutoResize = false;
List1->ScrollHeight = 20;
List1->Columns->Add(L"C1")->Width = 256;
List1->Columns->Add(L"C2")->Width = 256;
List1->Columns->Add(L"C3")->Width = 256;

166
How can I display my text on the scroll bar

List1->ScrollPartCaption[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exThumbPart] = L"this is just a text";
List1->ColumnAutoResize = false;
List1->Columns->Add(L"C1")->Width = 256;
List1->Columns->Add(L"C2")->Width = 256;
List1->Columns->Add(L"C3")->Width = 256;

165
How do I enlarge or change the size of the control's scrollbars

List1->ScrollHeight = 18;
List1->ScrollWidth = 18;
List1->ScrollButtonWidth = 18;
List1->ScrollButtonHeight = 18;
List1->ScrollBars = Exlistlib_tlb::ScrollBarsEnum::DisableBoth;

164
How do I assign a tooltip to a scrollbar

List1->ScrollToolTip[Exlistlib_tlb::ScrollBarEnum::exHScroll] = L"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar";
List1->ColumnAutoResize = false;
List1->Columns->Add(L"C1")->Width = 256;
List1->Columns->Add(L"C2")->Width = 256;
List1->Columns->Add(L"C3")->Width = 256;

163
How do I assign an icon to the button in the scrollbar

List1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
List1->ScrollPartVisible[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
List1->ScrollPartCaption[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exLeftB1Part] = L"<img>1</img>";
List1->ScrollHeight = 18;
List1->ScrollButtonWidth = 18;
List1->ScrollBars = Exlistlib_tlb::ScrollBarsEnum::DisableNoHorizontal;

162
I need to add a button in the scroll bar. Is this possible

List1->ScrollPartVisible[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
List1->ScrollPartCaption[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exLeftB1Part] = L"1";
List1->ScrollBars = Exlistlib_tlb::ScrollBarsEnum::DisableNoHorizontal;

161
Can I display an additional buttons in the scroll bar

List1->ScrollPartVisible[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
List1->ScrollPartVisible[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exLeftB2Part] = true;
List1->ScrollPartVisible[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exRightB6Part] = true;
List1->ScrollPartVisible[Exlistlib_tlb::ScrollBarEnum::exHScroll,Exlistlib_tlb::ScrollPartEnum::exRightB5Part] = true;
List1->ScrollBars = Exlistlib_tlb::ScrollBarsEnum::DisableNoHorizontal;

160
How can I display a custom size picture to a cell or item

List1->DefaultItemHeight = 48;
List1->Columns->Add(L"C1");
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_CellPicture(var_Items->Add(TVariant("Text")),TVariant(0),List1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));

159
How can I display a multiple pictures to a cell or item

List1->DefaultItemHeight = 48;
List1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
List1->HTMLPicture[L"pic2"] = TVariant("c:\\exontrol\\images\\auction.gif");
List1->Columns->Add(L"C1");
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_CaptionFormat(var_Items->Add(TVariant("<img>pic1</img> Text <img>pic2</img> another text ...")),TVariant(0),Exlistlib_tlb::CaptionFormatEnum::exHTML);

158
How do I change the column's foreground color for numbers between an interval - Range

Exlistlib_tlb::IConditionalFormatPtr var_ConditionalFormat = List1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam());
	var_ConditionalFormat->Bold = true;
	var_ConditionalFormat->ForeColor = RGB(255,0,0);
	var_ConditionalFormat->ApplyTo = Exlistlib_tlb::FormatApplyToEnum(0x1);
List1->Columns->Add(L"N1");
List1->Columns->Add(L"N2");
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_Caption(var_Items->Add(TVariant(1)),TVariant(1),TVariant(2));
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_Caption(var_Items1->Add(TVariant(3)),TVariant(1),TVariant(3));
Exlistlib_tlb::IItemsPtr var_Items2 = List1->Items;
	var_Items2->set_Caption(var_Items2->Add(TVariant(10)),TVariant(1),TVariant(11));
Exlistlib_tlb::IItemsPtr var_Items3 = List1->Items;
	var_Items3->set_Caption(var_Items3->Add(TVariant(13)),TVariant(1),TVariant(31));
List1->SearchColumnIndex = 1;

157
How do I change the item's foreground color for numbers between an interval - Range

List1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam())->ForeColor = RGB(255,0,0);
List1->Columns->Add(L"Numbers");
List1->Items->Add(TVariant(1));
List1->Items->Add(TVariant(2));
List1->Items->Add(TVariant(10));
List1->Items->Add(TVariant(20));

156
How do I change the item's background color for numbers less than a value

List1->ConditionalFormats->Add(L"%0 < 10",TNoParam())->BackColor = RGB(255,0,0);
List1->Columns->Add(L"Numbers");
List1->Items->Add(TVariant(1));
List1->Items->Add(TVariant(2));
List1->Items->Add(TVariant(10));
List1->Items->Add(TVariant(20));

155
How do I underline the numbers greater than a value

List1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Underline = true;
List1->Columns->Add(L"Numbers");
List1->Items->Add(TVariant(1));
List1->Items->Add(TVariant(2));
List1->Items->Add(TVariant(10));
List1->Items->Add(TVariant(20));

154
How do I highlight in italic the numbers greater than a value

List1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->StrikeOut = true;
List1->Columns->Add(L"Numbers");
List1->Items->Add(TVariant(1));
List1->Items->Add(TVariant(2));
List1->Items->Add(TVariant(10));
List1->Items->Add(TVariant(20));

153
How do I highlight in italic the numbers greater than a value

List1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Italic = true;
List1->Columns->Add(L"Numbers");
List1->Items->Add(TVariant(1));
List1->Items->Add(TVariant(2));
List1->Items->Add(TVariant(10));
List1->Items->Add(TVariant(20));

152
How do I highlight in bold the numbers greater than a value

List1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Bold = true;
List1->Columns->Add(L"Numbers");
List1->Items->Add(TVariant(1));
List1->Items->Add(TVariant(2));
List1->Items->Add(TVariant(10));
List1->Items->Add(TVariant(20));

151
Can I use your EBN files to change the visual appearance for radio buttons

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->RadioImage[false] = 16777216;
List1->RadioImage[true] = 33554432;
List1->Columns->Add(L"Radio")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->Add(TVariant("Radio 1"));
	var_Items->set_CellState(var_Items->Add(TVariant("Radio 2")),TVariant(0),1);
	var_Items->Add(TVariant("Radio 3"));

150
Can I use your EBN files to change the visual appearance for checkbox cells

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->CheckImage[Exlistlib_tlb::CheckStateEnum::Unchecked] = 16777216;
List1->CheckImage[Exlistlib_tlb::CheckStateEnum::Checked] = 33554432;
List1->Columns->Add(L"Check")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->Add(TVariant("Check 1"));
	var_Items->set_CellState(var_Items->Add(TVariant("Check 2")),TVariant(0),1);

149
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exVSThumb] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exVSThumbP] = 0x2000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exVSThumbH] = 0x3000000;
List1->ColumnAutoResize = false;
List1->ScrollBySingleLine = true;
List1->Columns->Add(L"S")->Width = 483;
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_ItemHeight(var_Items->Add(TVariant("Item 1")),248);
List1->Items->Add(TVariant("Item 2"));

148
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
List1->ColumnAutoResize = false;
List1->Columns->Add(L"S")->Width = 483;

147
I've seen that you can change the visual appearance for the scroll bar. How can I do that

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exSBtn] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exSBtnP] = 0x2000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exSBtnH] = 0x3000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHSBack] = RGB(240,240,240);
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exScrollSizeGrip] = RGB(240,240,240);
List1->Columns->Add(L"S")->Width = 32;
List1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"E1")->Width = 32;
List1->Columns->Add(L"E2")->Width = 32;
List1->Columns->Add(L"E3")->Width = 32;
List1->Columns->Add(L"E4")->Width = 32;
List1->ColumnAutoResize = false;
List1->ScrollBars = Exlistlib_tlb::ScrollBarsEnum::DisableBoth;

146
Is there any option to highligth the column from the cursor - point

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exCursorHoverColumn] = 0x1000000;
List1->Columns->Add(L"S")->Width = 32;
List1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"E1")->Width = 32;
List1->Columns->Add(L"E2")->Width = 32;
List1->Columns->Add(L"E3")->Width = 32;
List1->Columns->Add(L"E4")->Width = 32;

145
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exSelBackColorFilter] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exSelForeColorFilter] = RGB(255,20,20);
List1->Columns->Add(L"Filter")->DisplayFilterButton = true;

144
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exDateHeader] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exDateTodayUp] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exDateTodayDown] = 0x2000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exDateScrollThumb] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exDateScrollRange] = RGB(230,230,230);
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exDateSeparatorBar] = RGB(230,230,230);
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exDateSelect] = 0x1000000;
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Date");
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exDate;
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;

143
How do I change the visual aspect of the close button in the filter bar, using EBN

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exFooterFilterBarButton] = 0x1000000;
List1->Columns->Add(L"Filter")->FilterType = Exlistlib_tlb::FilterTypeEnum::exBlanks;
List1->ApplyFilter();

142
How do I change the visual aspect of buttons in the cell, using EBN

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exCellButtonUp] = 0x1000000;
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exCellButtonDown] = 0x2000000;
List1->SelForeColor = RGB(0,0,0);
List1->ShowFocusRect = false;
List1->Columns->Add(L"Column 1")->set_Def(Exlistlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
List1->Items->Add(TVariant("Button 1"));
List1->Items->Add(TVariant("Button 2"));
List1->Columns->Add(L"Column 2");

141
How do I change the visual aspect of the drop down filter button, using EBN

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->Background[Exlistlib_tlb::BackgroundPartEnum::exHeaderFilterBarButton] = 0x1000000;
List1->Columns->Add(L"Filter")->DisplayFilterButton = true;

140
How do I enable resizing the columns at runtime

List1->ColumnsAllowSizing = true;
List1->MarkSearchColumn = false;
List1->HeaderVisible = false;
List1->Columns->Add(L"Column 1");
List1->Columns->Add(L"Column 2");
List1->DrawGridLines = Exlistlib_tlb::GridLinesEnum::exVLines;
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_Caption(var_Items->Add(TVariant("Item 1")),TVariant(1),TVariant("Sub Item 1"));
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_Caption(var_Items1->Add(TVariant("Item 2")),TVariant(1),TVariant("Sub Item 2"));

139
How can I sort by multiple columns

List1->SingleSort = false;
List1->Columns->Add(L"C1")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortAscending;
List1->Columns->Add(L"C2")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortDescending;
List1->Columns->Add(L"C3")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortAscending;

138
How can I add several columns to control's sort bar

List1->SortBarVisible = true;
List1->SortBarColumnWidth = 48;
List1->Columns->Add(L"C1")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortAscending;
List1->Columns->Add(L"C2")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortDescending;

137
How can I change the width of the columns being displayed in the sort bar

List1->SortBarVisible = true;
List1->SortBarColumnWidth = 48;
List1->Columns->Add(L"C1")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortAscending;
List1->Columns->Add(L"C2")->SortOrder = Exlistlib_tlb::SortOrderEnum::SortDescending;

136
How can I change the height of the sort bar's

List1->SortBarVisible = true;
List1->SortBarHeight = 48;

135
How can I change the sort bar's foreground color

List1->SortBarVisible = true;
List1->ForeColorSortBar = RGB(255,0,0);

134
How can I change the visual appearance of the control's sort bar, using EBN files

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
List1->SortBarVisible = true;
List1->BackColorSortBar = 0x1000000;
List1->BackColorSortBarCaption = 0x2000000;
List1->Appearance = Exlistlib_tlb::AppearanceEnum::None2;

133
How can I change the sort bar's background color

List1->SortBarVisible = true;
List1->BackColorSortBar = RGB(255,0,0);
List1->BackColorSortBarCaption = RGB(128,0,0);

132
How can I change the default caption being displayed in the control's sort bar

List1->SortBarVisible = true;
List1->SortBarCaption = L"new caption";

131
How can I show the control's sort bar

List1->SortBarVisible = true;

130
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

List1->PictureLevelHeader = (IPictureDisp*)(List1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
List1->PictureDisplayLevelHeader = Exlistlib_tlb::PictureDisplayEnum::Stretch;
List1->Columns->Add(L"S")->Width = 32;
List1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"E1")->Width = 32;
List1->Columns->Add(L"E2")->Width = 32;
List1->Columns->Add(L"E3")->Width = 32;
List1->Columns->Add(L"E4")->Width = 32;

129
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

List1->PictureLevelHeader = (IPictureDisp*)(List1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
List1->PictureDisplayLevelHeader = Exlistlib_tlb::PictureDisplayEnum::MiddleRight;
List1->Columns->Add(L"S")->Width = 32;
List1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"E")->Width = 32;

128
How can I display a picture on the control's header, when multiple levels are displayed

List1->PictureLevelHeader = (IPictureDisp*)(List1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
List1->Columns->Add(L"S")->Width = 32;
List1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

127
How can I change the header's background color, when multiple levels are displayed
List1->BackColorLevelHeader = RGB(250,0,0);
List1->Columns->Add(L"S")->Width = 32;
List1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
List1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

126
Can I programmatically scroll the control

List1->DefaultItemHeight = 32;
List1->Columns->Add(L"Column");
List1->Items->Add(TVariant(0));
List1->Items->Add(TVariant(1));
List1->Items->Add(TVariant(2));
List1->Items->Add(TVariant(3));
List1->PutItems(List1->GetItems(TVariant(0)),TNoParam());
List1->PutItems(List1->GetItems(TVariant(0)),TNoParam());
List1->ScrollPos[true] = 1;

125
Do you have some function to load data from a safe array
List1->Columns->Add(L"Column");
List1->Items->Add(TVariant(0));
List1->PutItems(List1->GetItems(TVariant(0)),TNoParam());

124
Do you have some function to retrieve all items to a safe array
List1->Columns->Add(L"Column");
List1->Items->Add(TVariant(0));
List1->PutItems(List1->GetItems(TVariant(0)),TNoParam());
List1->Items->Add(TVariant(1));
List1->PutItems(List1->GetItems(TVariant(0)),TNoParam());
List1->Items->Add(TVariant(2));
List1->PutItems(List1->GetItems(TVariant(0)),TNoParam());
List1->Items->Add(TVariant(3));

123
How can still display the selected items when the control loses the focus

List1->HideSelection = false;
List1->Columns->Add(L"Column");
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->Add(TVariant("Item 3"));
	var_Items->Add(TVariant("Item 1"));
	var_Items->set_SelectItem(var_Items->Add(TVariant("Item 2")),true);

122
How can I hide a column

List1->Columns->Add(L"Hidden")->Visible = false;
List1->Columns->Add(L"2");
List1->Columns->Add(L"3");
List1->Columns->Add(L"4");
List1->Columns->Add(L"5");

121
How can I ensure that a column is visible and fits the control's client area
List1->ColumnAutoResize = false;
List1->Columns->Add(L"1")->Width = 128;
List1->Columns->Add(L"2")->Width = 128;
List1->Columns->Add(L"3")->Width = 128;
List1->Columns->Add(L"4")->Width = 128;
List1->Columns->Add(L"5")->Width = 128;
List1->Items->EnsureVisibleColumn(TVariant("5"));

120
I've seen that the width of the tooltip is variable. Can I make it larger

List1->ToolTipWidth = 328;
List1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip that should be very very very very very very very long";

119
How do I disable showing the tooltip for all control
List1->ToolTipDelay = 0;
List1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

118
How do I let the tooltip being displayed longer

List1->ToolTipPopDelay = 10000;
List1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

117
How do I show the tooltip quicker
List1->ToolTipDelay = 1;
List1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

116
How do I change the caption being displayed in the control's filter bar

List1->FilterBarCaption = L"your filter caption";
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exBlanks;
List1->ApplyFilter();

115
How do I search case sensitive, using your incremental search feature

List1->AutoSearch = true;
Exlistlib_tlb::IColumnsPtr var_Columns = List1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Exlistlib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Exlistlib_tlb::AutoSearchEnum::exContains;
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_Caption(var_Items->Add(TVariant("text")),TVariant(1),TVariant("another text"));
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_Caption(var_Items1->Add(TVariant("text")),TVariant(1),TVariant("another text"));

114
How do I disable the control
List1->Enabled = false;

113
How do I enable the incremental search feature within a column

List1->AutoSearch = true;
Exlistlib_tlb::IColumnsPtr var_Columns = List1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Exlistlib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Exlistlib_tlb::AutoSearchEnum::exContains;
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->set_Caption(var_Items->Add(TVariant("text")),TVariant(1),TVariant("another text"));
Exlistlib_tlb::IItemsPtr var_Items1 = List1->Items;
	var_Items1->set_Caption(var_Items1->Add(TVariant("text")),TVariant(1),TVariant("another text"));

112
How do I call your x-script language

Exlistlib_tlb::IColumnPtr var_Column = List1->ExecuteTemplate(L"Columns.Add(`Column`)");
	var_Column->HeaderStrikeOut = true;
	var_Column->HeaderBold = true;

111
How do I call your x-script language

List1->Template = L"Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";

110
How do I show alternate rows in different background color

List1->BackColorAlternate = RGB(240,240,240);
List1->Columns->Add(L"Column");
Exlistlib_tlb::IItemsPtr var_Items = List1->Items;
	var_Items->Add(TVariant("Item 1"));
	var_Items->Add(TVariant("Item 2"));
	var_Items->Add(TVariant("Item 3"));
	var_Items->Add(TVariant("Item 4"));
	var_Items->Add(TVariant("Item 5"));

109
How do I enlarge the drop down filter window

List1->FilterBarDropDownHeight = -320;
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterBarDropDownWidth = -320;
List1->Items->Add(TVariant("Item 1"));
List1->Items->Add(TVariant("Item 2"));

108
How do I filter programatically the control

Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exPattern;
	var_Column->Filter = L"Item*";
List1->Items->Add(TVariant("Item 1"));
List1->Items->Add(TVariant(""));
List1->Items->Add(TVariant("Item 2"));
List1->ApplyFilter();

107
How do I change the font of the control's filterbar

List1->FilterBarFont->Size = TVariant(long(20));
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exBlanks;
List1->ApplyFilter();

106
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

List1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
List1->FilterBarBackColor = 0x1000000;
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exBlanks;
List1->ApplyFilter();

105
How do I change the background color of the control's filterbar

List1->FilterBarBackColor = RGB(240,240,240);
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exBlanks;
List1->ApplyFilter();

104
How do I change the foreground color of the control's filterbar

List1->FilterBarForeColor = RGB(255,0,0);
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exBlanks;
List1->ApplyFilter();

103
How do I change the height of the control's filterbar

List1->FilterBarHeight = 32;
Exlistlib_tlb::IColumnPtr var_Column = List1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exlistlib_tlb::FilterTypeEnum::exBlanks;
List1->ApplyFilter();

102
How do select only a portion of text when the control starts editing a cell

List1->AllowEdit = true;
List1->SelStart = 1;
List1->SelLength = 1;
List1->Columns->Add(L"Column");
List1->Items->Add(TVariant("Item 1"));
List1->Items->Add(TVariant("Item 2"));

101
How do I change the header's foreground color

List1->ForeColorHeader = RGB(255,0,0);
List1->Columns->Add(L"Column 1");
List1->Columns->Add(L"Column 2");
List1->Items->Add(TVariant("Item 1"));